package com.clgk.wechatmall.common.util;

public enum CoordConvertType
{
    // 0:google转百度,1:google转gps,2:百度转google,3:百度转gps，4：gps转google，5：
    // * gps转百度
    GOOGLE_TO_BAIDU, GOOGLE_TO_GPS, BAIDU_TO_GOOGLE, BAIDU_TO_GPS, GPS_TO_GOOGLE, GPS_TO_BAIDU;

    public int getValue()
    {
        int value = 0;
        switch (this)
        {
        case GOOGLE_TO_BAIDU:
            value = 0;
            break;
        case GOOGLE_TO_GPS:
            value = 1;
            break;
        case BAIDU_TO_GOOGLE:
            value = 2;
            break;
        case BAIDU_TO_GPS:
            value = 3;
            break;
        case GPS_TO_GOOGLE:
            value = 4;
            break;
        case GPS_TO_BAIDU:
            value = 5;
            break;
        }
        return value;
    }
}
